﻿using AppServices.User.Dto;
using AutoMapper;
using Domain;
using Domain.Entities;

namespace WorldSystem.Api.Configs
{
    public class AutoMapperConfig:Profile
    {
        public AutoMapperConfig()
        {
            CreateMap<UserInfoInput, UserInfo>().ReverseMap();
            CreateMap<UserInfo, UserInfoOutput>().ReverseMap();
            CreateMap<LoginReq, UserInfo>();


        }
    }
}
